@Repository
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th=
        "http://www.thymeleaf.org" lang="en">
<head th:replace="fragments/header :: head">
</head>
<body>
<div class="container">
    <h3 class="text-center">订单明细信息</h3>
    <div class="row">
        <div class="col-12">
            <table class="table table-bordered ">
                <thead>
                <tr>
                    <th>图书名称</th>
                    <th>购买数量</th>
                    <th>图书单价</th>
                </tr>
                </thead>
                <tr th:each="orderBook : ${order.books}">
                    <td class="col-xs-3"><a th:href="@{'/books/{bookId}'(bookId=${orderBook.book.bookId})}">[[${orderBook.book.
                        bookName}]]</a></td>
                    <td class="col-xs-6">[[${orderBook.quantity}]]</td>
                    <td class="col-xs-9">[[${orderBook.book.bookPrice}]]</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class = "col-12 text-right">
        <a class="btn btn-primary" th:href="@{/orders/all}"> 返回</a>
    </div>
</div>
</body>
</html>